import req from '@/utils/req'

//获得列表
export function getMenuList(obj) {
  return req.post('/menu/list',obj)
}
//新建
export function createMenu(obj) {
  return req.post('/menu/add',obj)
}
//获得某条的详情
export function detailRow(obj) {
  return req.get('/menu/getMenu', obj)
}
//修改
export function updateMenu(obj) {
  return req.post('/menu/update',obj)
}
//删除
export function delRow(obj) {
  return req.post('/menu/delete',obj)
}
